package com.xdf.xzymanagementsystem.controller;

import com.xdf.xzymanagementsystem.service.GreyDetailService;
import com.xdf.xzymanagementsystem.service.OrderDetailService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 注意要有依赖：
 *         <dependency>
 *             <groupId>io.springfox</groupId>
 *             <artifactId>springfox-swagger2</artifactId>
 *             <version>2.9.2</version>
 *         </dependency>
 *         <dependency>
 *             <groupId>io.springfox</groupId>
 *             <artifactId>springfox-swagger-ui</artifactId>
 *             <version>2.9.2</version>
 *         </dependency>
 * 同时入口类头上使用注解：@EnableSwagger2
 * @Description : 控制层，代码生成器自动生成
 * @Author : chanchaw
 * @Date : 2025-3-22 10:27:04
 */
@Api(tags = "单据,明细,订单")
@CrossOrigin
@RestController
@RequestMapping("/greyDetail")
public class GreyDetailController {
    @Autowired
    private GreyDetailService service;
    //=================以上是自动生成的代码，自定义代码请写在下面==================
}